package com.friday.bean;

public class Outstock {

    public Integer id;
    public Integer product_id;
    public int quantity;
    public Integer plant_id;
    public Integer operator_id;
    public String out_date;

    public Outstock(Integer id, Integer product_id, int quantity, Integer plant_id, Integer operator_id, String out_date) {
        this.id = id;
        this.product_id = product_id;
        this.quantity = quantity;
        this.plant_id = plant_id;
        this.operator_id = operator_id;
        this.out_date = out_date;
    }

    public Outstock() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProduct_id() {
        return product_id;
    }

    public void setProduct_id(Integer product_id) {
        this.product_id = product_id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public Integer getPlant_id() {
        return plant_id;
    }

    public void setPlant_id(Integer plant_id) {
        this.plant_id = plant_id;
    }

    public Integer getOperator_id() {
        return operator_id;
    }

    public void setOperator_id(Integer operator_id) {
        this.operator_id = operator_id;
    }

    public String getOut_date() {
        return out_date;
    }

    public void setOut_date(String out_date) {
        this.out_date = out_date;
    }

    @Override
    public String toString() {
        return "Outstock{" +
                "id=" + id +
                ", product_id=" + product_id +
                ", quantity=" + quantity +
                ", plant_id=" + plant_id +
                ", operator_id=" + operator_id +
                ", out_date='" + out_date + '\'' +
                '}';
    }
}
